<style type="text/css">
.search{
  height:50px;
}
.search input,.search label,.search .btn-bid-auction{
  float: left;
}
.search input{
  margin: 2px 0 0 10px;
  
}
.search span{
  width: 250px;
  display: block;
}
.search label{
  margin: 10px 0 0 0;
}
.search .btn-bid-auction{
  width: auto;
  letter-spacing: 0px;
  margin: 2px 0 0 10px;

}
</style>
<div class="notification-main">
	<div class="History-box">
	  <h1 class="title">Order History</h1>
    	<div class="search"><label>Search your orders:</label><input type="text" name="search" class="form-control" id="order_id" value=""><button class="btn btn-bid-auction" id="search" onclick="search();">search</button></div>
	 	<?php
		 	if(!empty($_GET['order'])){
				$id=$_GET['order'];
			}else{
				$id="";
			}
	 		$this->widget('zii.widgets.CListView', array(
			'id' => 'ohistory-grid',
			'dataProvider' => $ohistory->search($id),
	 		'enableSorting' => false,
	 		'cssFile' => Yii::app()->baseUrl.'/css/igrid/style1.css',
	 		'summaryText' => '',
	 		'pager' => array('header' => ''),
	 		'itemView' => '_history',
		));?>
	</div>
</div>
<script type="text/javascript">
function search(){
	console.log(1231231);
  location.href="?order="+$("#order_id").val();
}
</script>